package instruction;

import java.io.Serializable;

public class Forget implements Serializable {
    private String password;
    private String email;
    private int flag=0;


    public Forget(String password, String email) {
        this.password = password;
        this.email = email;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAccount() {
        return email;
    }

    public void setAccount(String account) {
        this.email = account;
    }

    @Override
    public String toString() {
        return "Forget{" +
                "password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", flag=" + flag +
                '}';
    }
}
